package com.dsjy.yf.address.entity.query;

import lombok.Data;

/**
 * @author whj
 * @version 1.0
 * @date 2021-03-12 14:32
 */
@Data
public class SearchQuery {
    private String tableName;
    private Integer parentCode;
    private String query;

    public boolean queryIsNotNull() {
        return query != null && !"null".equals(query) && !"".equals(query);
    }
}
